package com.zhiyou.service;

import com.zhiyou.model.Contract;

import java.util.HashMap;
import java.util.List;

public interface ContractService {
    int getContractNum(HashMap<String,String> keywordMap);

    List<Contract> getContract(int pageNoC, int pageSize,HashMap<String,String> keywordMap);

    void deleteById(int cid);

    void addNew(String cnum, int chid, int clid, String ctime, String cstartTime, String cendTime, String ctotalMoney, int cpayType);

    Contract selectById(int cid);

    void updateNew(int cid, String cnum, int chid, int clid, String ctime, String cstartTime, String cendTime, String ctotalMoney, int cpayType);
}
